package com.atguigu.aop.service;

import com.atguigu.aop.config.advisor.MyAnnotation;
import org.springframework.stereotype.Component;

/**
 * 需要切面的 Service 类
 */
@Component
public class TestService {

    @MyAnnotation
    public void test() {
        System.out.println("test !");
    }

}
